#pragma once
#include <D3D9.h>

class DxTexture
{
public:
	DxTexture(void);
	~DxTexture(void);

	void Load(const char* pszFile);

	IDirect3DBaseTexture9* GetDxTexture() { return m_pTexture; }
	operator IDirect3DBaseTexture9*()	{ return m_pTexture; }

private:
	IDirect3DBaseTexture9* m_pTexture;
};

